Skip to content

Fix recursive {this} evaluation in Natvis#1549

Merged
WardenGnaw merged 1 commit intomainfrom
dev/waan/recursiveThis
Mar 16, 2026
Merged

Fix recursive {this} evaluation in Natvis#1549
WardenGnaw merged 1 commit intomainfrom
dev/waan/recursiveThis

Conversation

@WardenGnaw
Copy link
Member

This PR addresses the issue where using this in natvis causes it to recursively evaluate. Added a check during evaluation if the name is this, special case to just return as is instead of contuining recursing.

Added tests to handle the case.

Addresses #1391

@WardenGnaw WardenGnaw force-pushed the dev/waan/recursiveThis branch from dc07d1d to ad1ae1c Compare March 14, 2026 00:05
This PR addresses the issue where using `this` in natvis causes it to
recursively evaluate. Added a check during evaluation if the name is
this, special case to just return as is instead of contuining recursing.

Added tests to handle the case.

Addresses #1391
@WardenGnaw WardenGnaw force-pushed the dev/waan/recursiveThis branch from ad1ae1c to aaf9e66 Compare March 14, 2026 22:48
@WardenGnaw WardenGnaw merged commit 01f5559 into main Mar 16, 2026
6 checks passed
@WardenGnaw WardenGnaw deleted the dev/waan/recursiveThis branch March 16, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants